package isstra.rendezvous;

public class ChannelX<T> implements Channel<T>{
	private Exchanger<T> xch=new ExchangerMJ<T>();
	public void send( T msg ){
		xch.exchange( msg );
	}//send
	public T receive(){
		return xch.exchange(null);
	}//receive
}//ChannelX
